import java.util.Scanner;
public class Demo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        System.out.println(max(a,b,c));
        scanner.close();
    }
    public static int max(int a,int b) {
        return a>b?a:b;
    }
    public static int max(int a,int b,int c) {
        int maxNUM = max(a,b);
        int ret = max(maxNUM,c);
        return ret;
    }
}
